home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 32 / Mac Magazin and MacEasy Magazine CD - Issue 32.iso / Multimedia / PlayerPRO 4.5.5 Dev.Kit / Plug-Ins / Music Import⁄Export Plugs / FileUtils.h next >
C/C++ Source or Header  |  1997-02-25  |  1KB  |  52 lines

  1. #include "MAD.h"
  2.  
  3. ////////////////////////////////////////////////////////////
  4.  
  5. #ifdef _MAC_H
  6. short iFileOpen( Ptr name);
  7. void iFileCreate( Ptr name, long);
  8.  
  9. long iGetEOF( short iFileRefI);
  10. OSErr iRead( long size, Ptr dest, short iFileRefI);
  11. OSErr iWrite( long size, Ptr dest, short iFileRefI);
  12. OSErr iSeekCur( long size, short iFileRefI);
  13.  
  14. void iClose( short iFileRefI);
  15.  
  16. #ifndef __SHUDDUPH__
  17. char* strcpy( char*, const char*);
  18. int strcmp( const char *dst, const char* src);
  19. #endif
  20.  
  21. #define UNFILE    short
  22.  
  23. #endif
  24.  
  25.  
  26. ////////////////////////////////////////////////////////////
  27.  
  28. #ifdef _INTEL_H
  29. FILE* iFileOpen( Ptr name);
  30. void iFileCreate( Ptr name, long);
  31.  
  32. long iGetEOF( FILE* iFileRefI);
  33. OSErr iRead( long size, Ptr dest, FILE* iFileRefI);
  34. OSErr iWrite( long size, Ptr dest, FILE* iFileRefI);
  35. OSErr iSeekCur( long size, FILE* iFileRefI);
  36.  
  37. void iClose( FILE* iFileRefI);
  38.  
  39. #include "stdio.h"
  40. #include "stdlib.h"
  41. #include "string.h"
  42.  
  43. #define UNFILE    FILE*
  44.  
  45. #endif
  46.  
  47. ////////////////////////////////////////////////////////////
  48.  
  49. void INT32( void *msg_buf);
  50. void INT16( void *msg_buf);
  51. void MOT32( void *msg_buf);
  52. void MOT16( void *msg_buf);